import request from '@/utils/request'

export function publishPoster(data, errorback) {
  return request._post('/supplier/employ.poster/publish', data, errorback);
}


export function addPoster(data, errorback) {
  return request._post('/supplier/employ.poster/add', data, errorback);
}

export function toEditPoster(data, errorback) {
  return request._get('/supplier/employ.poster/edit', data, errorback);
}
export function editPoster(data, errorback) {
  return request._post('/supplier/employ.poster/edit', data, errorback);
}

export function deletePoster(data, errorback) {
  return request._post('/supplier/employ.poster/delete', data, errorback);
}


export function posterList(data, errorback) {
  return request._post('/supplier/employ.poster/index', data, errorback);
}


export function deleteEmploy(data, errorback) {
  return request._post('/supplier/employ.employ/delete', data, errorback);
}


export function handleSubmit(data, errorback) {
  return request._post('/supplier/employ.employ/handleSubmit', data, errorback);
}


/*订单列表*/
export function employList(data, errorback) {
  return request._post('/supplier/employ.employ/index', data, errorback);
}

